<? if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
$arSpanClasses = array("t11","t12","t13","t14","t17","t18","t20");
?>

                    <div id="cloud">
                    	<div id="bg-cloud">
                        	<div id="cloudL"><img src="/bitrix/templates/naukasna-inner/images/cloudL.png" width="118" height="179" /></div>
                            <div id="cloudM"><img src="/bitrix/templates/naukasna-inner/images/cloudM01.png" width="666" height="65" /><br />
                            <img src="/bitrix/templates/naukasna-inner/images/cloudM02.png" width="666" class="img02" />
                            </div>
                            <div id="cloudR"><img src="/bitrix/templates/naukasna-inner/images/cloudR.png" width="118" /></div>
                        </div>
                        <div style="clear:both;"></div>
                        <div id="bg-cloud-txt">
                            <?
                            foreach($arResult["SEARCH"] as $tag):
                           		$span = $arSpanClasses[array_rand($arSpanClasses)];
                            ?>
                                
                                <span class="<?=$span;?>"><a href="/search/?tags=<?=$tag["NAME"];?>"><?=$tag["NAME"];?></a></span>
                            <? endforeach;?>
                        </div>
                    </div>